package com.friend.entity.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
* @Description:  极光配置文件
* @Param:
* @return:
* @Author: yangzhanghui
* @Date: 2019/12/27 17:56
*/

@Data
@ConfigurationProperties(prefix = "jpush")
public class JpushConfig {

    // 读取极光配置信息中的用户名密码
    @Value("${jpush.appKey}")
    private String appKey;
    @Value("${jpush.masterSecret}")
    private String masterSecret;
    @Value("${jpush.liveTime}")
    private String liveTime;
}
